package org.jeecg.modules.pbmp.returnStage.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 项目回款信息
 * @Author: jeecg-boot
 * @Date:   2021-01-27
 * @Version: V1.0
 */
@Data
@TableName("pbmp_return_stage")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pbmp_return_stage对象", description="项目回款信息")
public class ReturnStage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**项目ID*/
	@Excel(name = "项目ID", width = 15)
    @ApiModelProperty(value = "项目ID")
    private String projectId;
	/**订单ID*/
	@Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;
	/**阶段名称*/
	@Excel(name = "阶段名称", width = 15)
    @ApiModelProperty(value = "阶段名称")
    private String stageName;
    /**阶段编号*/
    @Excel(name = "阶段编号", width = 15)
    @ApiModelProperty(value = "阶段编号")
    private String stageCode;
	/**归属年份*/
	@Excel(name = "归属年份", width = 15)
    @ApiModelProperty(value = "归属年份")
    private String attributionYear;
	/**阶段订单金额*/
	@Excel(name = "阶段订单金额", width = 15)
    @ApiModelProperty(value = "阶段订单金额")
    private BigDecimal orderAmount;
	/**阶段已开金额*/
	@Excel(name = "阶段已开金额", width = 15)
    @ApiModelProperty(value = "阶段已开金额")
    private BigDecimal invoiceAmount;
	/**阶段未开票金额*/
	@Excel(name = "阶段未开票金额", width = 15)
    @ApiModelProperty(value = "阶段未开票金额")
    private BigDecimal uninvoiceAmount;
	/**阶段已回款金额*/
	@Excel(name = "阶段已回款金额", width = 15)
    @ApiModelProperty(value = "阶段已回款金额")
    private BigDecimal collectedAmount;
	/**阶段未回款金额*/
	@Excel(name = "阶段未回款金额", width = 15)
    @ApiModelProperty(value = "阶段未回款金额")
    private BigDecimal uncollectedAmount;
	/**阶段回款比例*/
	@Excel(name = "阶段回款比例", width = 15)
    @ApiModelProperty(value = "阶段回款比例")
    private String collectionRatio;
	/**开票时间*/
	@Excel(name = "开票时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开票时间")
    private Date imageTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建人名字*/
	@Excel(name = "创建人名字", width = 15)
    @ApiModelProperty(value = "创建人名字")
    private String createName;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改人名字*/
	@Excel(name = "修改人名字", width = 15)
    @ApiModelProperty(value = "修改人名字")
    private String updateName;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    private Integer delflag;
	/**删除时间*/
	@Excel(name = "删除时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "删除时间")
    private Date delDate;
}
